package com.ant.http

import okhttp3.Interceptor

/**
 * copyright：
 * @author：anthui creation date： .
 * @since: 2.7.8
 * @describe:http环境配置参数
 */
internal object HttpConfig {
    //公共拦截器
    val mInterceptors = mutableListOf<Interceptor>()

    //是否处于 debug模式
    var isDebug = false

    //网路超时时间配置
    var HTTP_TIME_OUT_CONNECTION = 30L
    var HTTP_TIME_OUT_WRITE = 30L
    var HTTP_TIME_OUT_READE = 30L

    var HTTP_BASE_URL = ""
    var proxyEnable = true

    //是否已经初始化 相关配置参数
    var isInitHttpConfig: Boolean = false

    //    @JvmStatic
    const val serialized_code = "code"
    const val serialized_message = "msg"
    const val serialized_data = "data"


}